projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b4aebf
)
If autoloads buffer is unchanged, mark it as such (bug#23692)
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 11 Oct 2016 19:52:14 +0000
(15:52 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 11 Oct 2016 19:52:14 +0000
(15:52 -0400)
* lisp/emacs-lisp/autoload.el (update-directory-autoloads):
If autoloads buffer is unchanged, mark it as such (bug#23692).
lisp/emacs-lisp/autoload.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/autoload.el
b/lisp/emacs-lisp/autoload.el
index aa58f7b27fa4490c4f123530d9582f57bd6993c3..426601c81f7e91b06a2033d594f920247999a20b 100644
(file)
--- a/
lisp/emacs-lisp/autoload.el
+++ b/
lisp/emacs-lisp/autoload.el
@@
-1112,7
+1112,8
@@
write its autoloads into the specified file instead."
;; Don't modify the file if its content has not been changed, so `make'
;; dependencies don't trigger unnecessarily.
- (when changed
+ (if (not changed)
+ (set-buffer-modified-p nil)
(let ((version-control 'never))
(save-buffer)))